package com.zhouyu.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

@Component
public class OrderService {

	@Autowired
	UserService userService;

//	public OrderService(UserService userService) {
//		this.userService = userService;
//	}

	@Async
	public void test(){
		System.out.println(1);
	}
}
